import * as dayjs from 'dayjs'

// 根据时间戳获取时间
export const getDate = (timestamp, identification = 'YYYY-MM-DD HH:mm:ss') => {
  return dayjs(new Date(timestamp)).format(identification)
}
